﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;
namespace LIMS.Entities
{
    [ActiveRecord(Lazy = true)]
    [Serializable]
    public class GroupUserLink : ActiveRecordBase 
    {
        public GroupUserLink()
        {
        }

        #region Private

        private int id;

        private int userId;
        private int groupId;
        #endregion

        #region Public
        [PrimaryKey(PrimaryKeyType.Increment)] 
        public virtual int Id
        {
            get { return id; }
            set { id = value; }
        }

        public virtual int GroupId
        {
            get { return groupId; }
            set { groupId = value; }
        }

        public virtual int UserId
        {
            get { return userId ; }
            set { userId  = value; }
        }
       #endregion
    }
}
